package core.communication.configurationNode;

import java.io.Serializable;

import core.database.NodeType;

public class CNode implements Serializable {
	private static final long serialVersionUID = -882533136917172161L;

	private String name;
	private String address;
	private String ip;
	private String port;
	private NodeType nodeType;

	public CNode(String name, String address, String ip, String port, NodeType nodeType) {
		super();
		this.name = name;
		this.address = address;
		this.ip = ip;
		this.port = port;
		this.nodeType = nodeType;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public NodeType getNodeType() {
		return nodeType;
	}

	public void setNodeType(NodeType nodeType) {
		this.nodeType = nodeType;
	}
}
